﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Common;
using DataAccess;

namespace Assignment.Business_Logic
{
    public class TownBL
    {   
        /// <summary>
        /// Getting all towns from the Database
        /// </summary>
        /// <returns></returns>
        public IEnumerable<Town> GetTowns()
        {
            return new TownRepository().GetAllTowns();
        }

    }
}